//
// Created by liaojili on 2023/11/5.
//

#include <stdio.h>

void main(){
    // 编写一个程序，判断是否为闰年
    int year;
    scanf("%d",&year);
    if((year % 100 != 0 && year % 4 == 0) || year % 400 == 0){
        printf("year %d is leap year", year);
    } else{
        printf("year %d is not leap year", year);
    }
}